package com.qf.administration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel(description = "car_manage")
@Data
@TableName(value = "car_manage")
public class CarManage {
    public static final String COL_CAR_ID = "car_id";
    public static final String COL_BUS_NUMBER = "bus_number";
    public static final String COL_SADDLE = "saddle";
    public static final String COL_CAR_SORT_ID = "car_sort_id";
    public static final String COL_CAR_BRAND = "car_brand";
    public static final String COL_CAR_STATUS = "car_status";
    public static final String COL_OPERATOR = "operator";
    public static final String COL_CREATE_TIME = "create_time";
    public static final String COL_STATUS = "status";
    @TableId(value = "car_id", type = IdType.INPUT)
    @ApiModelProperty(value = "")
    private Integer carId;
    /**
     * 车牌号
     */
    @TableField(value = "bus_number")
    @ApiModelProperty(value = "车牌号")
    private String busNumber;
    /**
     * 车座：2座；4座；6座
     */
    @TableField(value = "saddle")
    @ApiModelProperty(value = "车座：2座；4座；6座")
    private String saddle;
    /**
     * 车辆类别：1.轿车；2.SUV；3.MPV；4.火车；5.客运车
     */
    @TableField(value = "car_sort_id")
    @ApiModelProperty(value = "车辆类别：1.轿车；2.SUV；3.MPV；4.火车；5.客运车")
    private Integer carSortId;
    /**
     * 车辆品牌：奥迪；宝马；五菱宏光
     */
    @TableField(value = "car_brand")
    @ApiModelProperty(value = "车辆品牌：奥迪；宝马；五菱宏光")
    private String carBrand;
    /**
     * 状态：1.正常；2.停用；3.报废
     */
    @TableField(value = "car_status")
    @ApiModelProperty(value = "状态：1.正常；2.停用；3.报废")
    private String carStatus;
    @TableField(value = "`operator`")
    @ApiModelProperty(value = "")
    private String operator;
    /**
     * 当前时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "当前时间")
    private Date createTime;
    /**
     * 删除:1.存在；0.删除
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "删除:1.存在；0.删除")
    private Integer status;
}